#pragma once
#include <string>
#include <iostream>
class collidable;
#include "gameField.h"

using namespace std;
class collidable
{
public:
	collidable(void);
	collidable(char sign, int xpos, int ypos, int type);
	~collidable(void);

	
	virtual int animate(gameField* field);
	virtual int animate(int i);
	virtual int animate(collidable* c, int i);

	char getSign()
	{
		return sign;
	}
	void setSign(char c)
	{
		sign = c;
	}

	int getX()
	{
		return x_position;
	}
	int getY()
	{
		return y_position;
	}
	
	int getType()
	{
		return type;
	}

	void setX(int i)
	{
		this->x_position = i;
	}
	void setY(int i)
	{
		this->y_position = i;
	}

protected:
	char sign;
	int x_position;
	int y_position;
	int type;
};

